Average sentence length |
---|
1.2756 |
sentence length | percentage |
---|---|
1 | 88.3000 |
2 | 5.7100 |
3 | 2.6367 |
4 | 1.2800 |
5 | 0.7600 |
6 | 0.4033 |
7 | 0.2667 |
8 | 0.2033 |
9 | 0.1333 |
10 | 0.0967 |
11 | 0.0533 |
12 | 0.0433 |
13 | 0.0400 |
14 | 0.0233 |
15 | 0.0133 |
16 | 0.0033 |
17 | 0.0100 |
18 | 0.0067 |
21 | 0.0033 |
25 | 0.0033 |
26 | 0.0067 |
31 | 0.0033 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters